package org.huzhp.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.huzhp.user.dao.BaseUserMapper;
import org.huzhp.user.entity.BaseUser;
import org.huzhp.user.service.IBaseUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class BaseUserServiceImpl extends ServiceImpl<BaseUserMapper, BaseUser> implements IBaseUserService {

    @Autowired
    private BaseUserMapper baseUserMapper;

    @Override
    public BaseUser findUserByCode(String code) {
        return baseUserMapper.findUserByCode(code);
    }
}
